#启动redis集群
docker stack deploy -c /home/redis/redis-stack.yml redis

docker run --network=test_swarm_netapp --rm -it inem0o/redis-trib create --replicas 1\
    192.168.1.111:7001 192.168.1.112:7002 192.168.1.113:7003\
    192.168.1.111:7004 192.168.1.112:7005 192.168.1.113:7006